﻿
using ProtoBuf;
namespace PnJ.Aliyun.OTS.Models
{
    /// <summary>
    /// 表示一次操作消耗的服务能力单元
    /// </summary>
    [ProtoContract(Name = "ConsumedCapacity")]
    public class ConsumedCapacity
    {
        public ConsumedCapacity()
        {

        }
        public ConsumedCapacity(CapacityUnit capacityUnit)
        {
            this.CapacityUnit = capacityUnit;
        }
        /// <summary>
        /// 本次操作消耗的服务能力单元的值
        /// </summary>
        [ProtoMember(1,Name = "capacity_unit",IsRequired =true)]
        public CapacityUnit CapacityUnit { get; set; }
    }
}
